<volist name="data.list" id="race">
    <!--类名对应对战模式，换背景图-->
    <a href="__APP__/Home/Race/detail?race_id={$race.id}">
    <div class="game-item am-g game-{$race.model_name}">
        <div class="game-item-name am-u-sm-12 am-padding-0">
            <span>{$race.title}</span>
        </div>
        <div class="am-u-sm-8 am-padding-0 game-info">
            <div class="game-item-info am-u-sm-6 am-padding-0">
                <img src="__PUBLIC__/assets/i/diamond.png" width="14" alt=""><span class="game-item-info-text">{$race.integral}</span>
            </div>
            <div class="game-item-info am-u-sm-6 am-padding-0">
                <img src="__PUBLIC__/assets/i/people_num.png" width="10" alt=""><span class="game-item-info-text">{$race.model_name}</span>
            </div>
            <div class="game-item-info am-u-sm-6 am-padding-0">
                <img src="__PUBLIC__/assets/i/map.png" width="10" alt=""><span class="game-item-info-text">
                <switch name="race.region">
                    <case value="0">QQ区</case>
                    <case value="1">微信区</case>
                </switch>
            </span>
            </div>
            <div class="game-item-info am-u-sm-6 am-padding-0">
                <span class="game-item-info-text am-margin-0">奖励：{$race.reward_integral}</span>
                <img src="__PUBLIC__/assets/i/diamond.png" width="14"
                     alt=""
                     style="display: inline-block;margin-top: -3px">
            </div>
        </div>
        <div class="am-u-sm-4 am-padding-0">

                <switch name="race.status">
                    <case value="0">
                        <span class="game-btn3">{$race.apply_start_time|date='m月d日H:i',###}报名</span>
                    </case>
                    <case value="1">
                        <span class="game-btn1">报名中</span>
                    </case>
                    <case value="2">
                        <span class="game-btn3">{$race.game_start_time|date='m月d日H:i',###}开赛</span>
                    </case>
                    <case value="3">
                        <span class="game-btn1">进行中</span>
                    </case>
                    <case value="4">
                        <span class="game-btn2">已结束</span>
                    </case>
                </switch>
        </div>
    </div>
    </a>
</volist>
<input type="hidden" id="totalpage" value="{$data.page.totalpage}">